#ifndef PUTONGUI_H
#define PUTONGUI_H

#include <QWidget>
#include <QMessageBox>
#include <QTcpSocket>
#include "stuct_message.h"
namespace Ui {
class puTongUI;
}

class puTongUI : public QWidget
{
    Q_OBJECT
signals:
    void puTong_zhujiemianShow(); //从普通用户界面返回主界面
private slots:
  void puTong_NeedMessage(messageText*,QTcpSocket*); //获取消息结构体和套接字流
  void on_shuaxinGeRenXinXi_clicked();

  void on_fanHuiDengRuJieMian_clicked();

public:
    explicit puTongUI(QWidget *parent = 0);
    ~puTongUI();

private:
    Ui::puTongUI *ui;
    QTcpSocket *tcp;
    messageText *message;
};

#endif // PUTONGUI_H
